Python3 |
您所在的位置:网站首页 › python 查看包的路径 › Python3 |
1. 查看python路径终端输入命令: whereis python假设你的电脑上同时安装了python2和python3,可以使用使用以下命令分别查看其安装路径: whereis python2 whereis python32.查看使用pip安装的软件包默认python3 pip listpython2查看pip安装的软件包名称及版本 python2 -m pip listpython3查看pip安装的软件包名称及版本 python3 -m pip list同样也可以是用命令 pip freezepip list 和 pip freeze的区别可以参考:https://blog.csdn.net/vitaminc4/article/details/76576956 3.查看pip安装的软件包路径 pip show logzero结果: --- Metadata-Version: 2.0 Name: logzero Version: 1.5.0 Summary: Robust and effective logging for Python 2 and 3 Home-page: https://github.com/metachris/logzero Author: Chris Hager Author-email: [email protected] License: MIT license Location: /root/.jumbo/lib/python2.7/site-packages Requires:
|
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |